package com.yqb.study.modular.controller.view;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * XX控制器
 */
@Controller
@RequestMapping(value = "/view")
public class WebSocketViewController {
	
	private String PREFIX = "/modular";

    /**
     * 跳转到登录页面
     */
    @RequestMapping(value = "/websocket", method = RequestMethod.GET)
    public String login() {
    	return PREFIX + "/websocket.html";
    }

}
